﻿using Ninject.Core;
using TestBat.GuyWire.Configurators;
using TestBat.GuyWire.Modules;
using TestBat.ServiceLocator;

namespace TestBat.GuyWire.Views
{
    public class GuyWire : IGuyWire.IGuyWire
    {
        public void Wire()
        {
            IKernel kernel = new StandardKernel(new SettingsModule(), new ModelModule(), new ViewModelModule(), new ViewModule(), new InfrastructureModule());
            DefaultServiceLocator.Kernel = kernel;
        }

        public void Dewire()
        {
        }
    }
}
